package com.gz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("标签插入入参")
public class LabelInfoAddDto extends BaseReq implements Serializable {

    private static final long serialVersionUID = -7218227058426816978L;
    @ApiModelProperty("主键,自增")
    private Integer id;
    @ApiModelProperty("标签名称")
    private String labelName;
    @ApiModelProperty("归属学层")
    private String level;
    @ApiModelProperty("归属年级")
    private String grade;
    @ApiModelProperty("科目")
    private String subject;
    @ApiModelProperty("状态,1:启用,0:禁用           默认1")
    private Integer status;
    @ApiModelProperty("数据创建人id")
    private Integer crtId;
    @ApiModelProperty("数据创建人时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date crtDt;
    @ApiModelProperty("数据更新人id")
    private Integer optId;
    @ApiModelProperty("数据更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date optDt;
}
